/*
* 命名空间: Project.Model
*
* 功 能： T_SafeLogs实体类
*
* 类 名： T_SafeLogsEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_SafeLogs")]
    public class T_SafeLogsEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? DepNo
        {
            get; set;
        }

        /// <summary>
        /// 班次
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Classes",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Classes
        {
            get; set;
        }

        /// <summary>
        /// 天气
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Weather",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Weather
        {
            get; set;
        }

        /// <summary>
        /// 检查单位
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "TestUnit",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string TestUnit
        {
            get; set;
        }

        /// <summary>
        /// 被检查单位现场负责人
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "AtPerSon",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string AtPerSon
        {
            get; set;
        }

        /// <summary>
        /// 被检查部位
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "TestPart",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string TestPart
        {
            get; set;
        }

        /// <summary>
        /// 检查内容
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "TestContent",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string TestContent
        {
            get; set;
        }

        /// <summary>
        /// 立即整改事项
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "AtModifyMatter",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string AtModifyMatter
        {
            get; set;
        }

        /// <summary>
        /// 限期整改事项
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "LaModifyMatter",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string LaModifyMatter
        {
            get; set;
        }

        /// <summary>
        /// 评价
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Judge",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Judge
        {
            get; set;
        }

        /// <summary>
        /// 处理结果
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Results",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Results
        {
            get; set;
        }

        /// <summary>
        /// 备注
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Remark",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Remark
        {
            get; set;
        }

        /// <summary>
        /// 安全巡查人员
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "SafePer",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string SafePer
        {
            get; set;
        }

        /// <summary>
        /// 被检查单位负责人
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "UnitPerSon",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UnitPerSon
        {
            get; set;
        }

        /// <summary>
        /// 检查时间
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "TestTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? TestTime
        {
            get; set;
        }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CreateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Creater",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Creater
        {
            get; set;
        }
    }
}
